@charset "UTF-8";
@import 'reset';

.web {
    display: flex;
    flex-direction: column;
    width: 100vw;
    text-align: center;
    background-color: #f6f6f6ff;
    header {
        margin-bottom: 4vw;
        background-color: #fff;
        .header-logo {
            position: fixed;
            top: 0;
            width: 100vw;
            z-index: 999;
            background-color: #fff;
            img {
                &:first-child {
                    position: absolute;
                    top: 3.9333vw;
                    left: 3.9333vw;
                    width: 5.6vw;
                    height: 5.6vw;
                }

                &:last-child {
                    width: 20vw;
                    height: 8.2667vw;
                    margin-top: 2.5413vw;
                }
            }
        }

        .header-bg {
            width: 100vw;
            height: 54.6667vw;
            overflow: hidden;
            margin-top:13.3333vw;
            .header-bg-rotation {
                width: 200vw;
                height: 54.6667vw;
                margin: 0 auto;
                font-size: 0;
                animation: sweet 5s infinite linear 1s alternate;

                img {
                    width: 100vw;
                    height: 54.6667vw;
                }
            }

            @keyframes sweet {
                0% {
                    margin-left: 0;
                }

                25% {
                    margin-left: 0;
                }

                50% {
                    margin-left: -100vw;
                }

                100% {
                    margin-left: -100vw;
                }

            }
        }

        .header-info {
            display: flex;
            align-items: center;
            justify-content: space-around;
            height: 8.8vw;

            .header-info-content {
                display: flex;
                justify-content: space-between;

                .img {
                    width: 3.4667vw;
                    height: 3.7333vw;
                }

                span {
                    font: normal 400 3.2vw PingFang SC;
                    text-align: left;
                }
            }
        }

        .header-nav {
            display: flex;
            justify-content: space-between;
            align-items: center;
            height: 22.6667vw;
            padding: 0 4vw;

            .header-nav-content {
                text-align: center;

                img {
                    width: 10.6667vw;
                    height: 10.6667vw;
                    margin-bottom: 0.5333vw;
                }

                p {
                    font: normal 400 3.7333vw PingFang SC;
                }
            }
        }
    }

    main {
        .one-second-select {

            height: 77.3333vw;
            margin-bottom: 5.3333vw;
            padding-top: 2.6667vw;
            text-align: center;
            background-color: #fff;
            p {
                border-left: 0.2667vw solid #884E22;
                padding-left: 3.0667vw;
                margin-left: 2.6667vw;
                font: normal 600 4vw PingFang SC;
                color: #884E22;
                text-align: left;
            }

            .select-family-pic {
                display: flex;
                justify-content: space-between;
                align-items: start;
                margin: 2.6667vw;
            }

            .select-classify {
                display: flex;
                justify-content: space-between;
                margin: 4vw 2.6667vw;

                .select-classify-content {
                    width: 22.6667vw;
                    height: 28.2667vw;
                    padding-top: 2.6667vw;
                    border-radius: 1.3333vw;
                    box-sizing: border-box;
                    background-color: #f3ebe3ff;

                    p {

                        margin: 0;
                        padding: 0;
                        border: none;
                        text-align: center;
                    }

                    img {
                        width: 18.1333vw;
                        height: 18.1333vw;
                    }
                }
            }
        }

        .goods {
            display: flex;
            flex-direction: column;
            align-items: center;
            padding: 5.3333vw 0;
            white-space: nowrap;
            background-color: #fff;
            h3 {
                position: relative;
                width: 16vw;
                height: 8vw;
                font: normal 600 4vw 'PingFang SC';
                white-space: nowrap;
                color: #555;

                &::before {
                    content: '';
                    position: absolute;
                    bottom: -1.3333vw;
                    left: -2.6667vw;
                    width: 21.3333vw;
                    height: 1.0667vw;
                    background-color: #884E22;
                    border-radius: 1.0667vw;

                }
            }

            .goods-classify {

                display: flex;
                flex-wrap: wrap;
                justify-content: space-around;
                margin: 2.6667vw;

                .classify-content {

                    margin: 2.1333vw 0;
                    text-align: left;

                    img {
                        width: 44vw;
                        height: 44vw;
                    }

                    p {
                        font-size: 3.7333vw;
                        color: #666;
                        margin: 1.3333vw 0;

                        span {
                            &:first-child {
                                font: normal 600 3.7333vw PingFang SC;
                                color: #FF4433;
                                margin-right: 14.9333vw;
                            }

                            &:last-child {
                                font: normal 400 3.2vw 'PingFang SC';
                                color: #999;
                            }
                        }
                    }
                }
            }

            .btn {
                width: 18.6667vw;
                height: 7.2vw;
                border: 0.2667vw solid #999f;
                line-height: 7.2vw;

                p {
                    line-height: 7.2vw;
                    font-size: 3.2vw;
                    font-family: 'PingFang SC';
                    color: #999;
                }
            }
        }

        .company-information {
            height: 18.6667vw;
            padding: 6.6667vw 0;
            margin: 4vw 0;
            background-color: #fff;
            p {
                font: normal 400 3.2vw PingFang SC;
                color: #999;
            }
        }

    }

    footer {
        width: 100vw;
        position: fixed;
        bottom: 0;

        .footer-nav {
            display: flex;
            justify-content: space-between;
            height: 13.704vw;
            padding: 0.8vw 19.2vw;
            background-color: #f5f5f5ff;

            a {
                text-decoration: none;
                color: #333;
                font: normal 400 3.2vw PingFang SC;

                &:first-child,
                &:last-child {
                    img {
                        width: 5.8667vw;
                        height: 7.2vw;
                    }
                }

                &:nth-child(2) {
                    img {
                        width: 6.9333vw;
                        height: 7.2vw;
                    }
                }

                &:nth-child(3) {
                    img {
                        width: 8.8vw;
                        height: 7.2vw;
                    }
                }
            }
        }
    }
}